package com.soft.collateral.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评估报告表
 * </p>
 *
 * @author liubin
 * @since 2025-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("assess")
@ApiModel(value="Assess对象", description="评估报告表")
public class Assess implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报告编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "内估价值")
    @TableField("internal_valuation")
    private BigDecimal internalValuation;

    @ApiModelProperty(value = "外估价值")
    @TableField("external_valuation")
    private BigDecimal externalValuation;

    @ApiModelProperty(value = "外估机构")
    @TableField("agencies_id")
    private Integer agenciesId;

    @ApiModelProperty(value = "评估方法")
    @TableField("method")
    private String method;

    @ApiModelProperty(value = "权重")
    @TableField("weight")
    private BigDecimal weight;

    @ApiModelProperty(value = "最终估值")
    @TableField("final_valuation")
    private BigDecimal finalValuation;

    @ApiModelProperty(value = "内容")
    @TableField("introduce")
    private String introduce;

    @ApiModelProperty(value = "时间")
    @TableField("date")
    private LocalDateTime date;

    @ApiModelProperty(value = "是否过期")
    @TableField("overdue")
    private Integer overdue;


}
